<template>
  <div>
    aaaaaaaaaaaaaaaaa
    <el-input v-model="aa"></el-input>
    <el-button type="primary" @click="goto">跳转到b，缓存a页面</el-button>
    <el-button type="primary" @click="gotoc">跳转到c，不缓存a页面</el-button>
  </div>
</template>

<script>
export default {
  name: "AA",
  data() {
    return {
      aa: ""
    }
  },
  methods: {
    goto() {
      this.$router.push("/a/bb")
    },
    gotoc() {
      this.$router.push("/c")
    }
  }
}
</script>

<style scoped>

</style>
